<? if($createHeader): ?><form class="<?= $class; ?>" <?= $encType ? "enctype='$encType'" : null; ?> method="<?= $method; ?>" id='<?= $id; ?>'><? endif; ?>
	<table class="<?= $class; ?>">
		<tr>
			<th colspan="2"><?= $title; ?></th>
		</tr>
		<?= $vars; ?>
	</table>
	<input type="hidden" name="__formSubmitted" value="true">
<? if($createFooter): ?></form><? endif; ?>